import React, { Component } from 'react'
import { Icon, Form, Button, Field, Toast } from 'react-vant';
function Login() {
  const [form] = Form.useForm();

  const onFinish = (values) => {
    console.log('form submit', values);
  };
  const onFinish = (values) => {
    console.log('form submit', values)
  }
  return (
    <div className="login">

      <div className="top">
        <Icon name='arrow-left' onClick={() => props.history.go(-1)} />
        <span>登录</span>
        <Form
          form={form}
          onFinish={onFinish}
        >
        </Form>
      </div>
    </div>
  )
}


export default Login